package com.ntv.domain;

import java.io.InputStream;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author Vedamoorthi Vairam
 * @since 01/01/2009
 *
 */
public interface INews {

	public Long getId() ;

	public void setId(Long id);

	public Date getPublishedOn();

	public void setPublishedOn(Date publishedOn);

	public Date getCreatedOn() ;

	public void setCreatedOn(Date createdOn);

	public String getLocation() ;

	public void setLocation(String location) ;

	public String getHeadLine();

	public void setHeadLine(String headLine);

	public String getCompleteNews();

	public void setCompleteNews(String completeNews);
	
	public void setCategory(String category);
	
	public String getCategory();
	
	public Long getContentId();
	public String getCaption();
	public void setCaption(String caption);
	public void setImage(InputStream image);
	public InputStream getImage();
	
	/**
	 * @return the multipartFile
	 */
	public MultipartFile getMultipartFile() ;

	/**
	 * @param multipartFile the multipartFile to set
	 */
	public void setMultipartFile(MultipartFile multipartFile);
	
	

	/**
	 * @param contentId the contentId to set
	 */
	public void setContentId(Long contentId);								

	/**
	 * @return the hasImage
	 */
	public Boolean getHasContent();

	/**
	 * @param hasImage the hasImage to set
	 */
	public void setHasContent(Boolean hasContent);

	/**
	 * @return the isTopNews
	 */
	public Boolean getIsTopNews() ;

	/**
	 * @param isTopNews the isTopNews to set
	 */
	public void setIsTopNews(Boolean isTopNews);

	/**
	 * @return the position
	 */
	public Integer getPosition();

	/**
	 * @param position the position to set
	 */
	public void setPosition(Integer position) ;

	/**
	 * @return the categoryId
	 */
	public String getCategoryId();

	/**
	 * @param categoryId the categoryId to set
	 */
	public void setCategoryId(String categoryId);

	
	/**
	 * @return the updateOn
	 */
	public Date getUpdatedOn() ;

	/**
	 * @param updateOn the updateOn to set
	 */
	public void setUpdatedOn(Date updatedOn) ;
	
	public void setCreatedBy(Long createdBy);
	public Long getCreatedBy();
	public void setUpdatedBy(long updatedBy);
	public Long getUpdatedBy();
}
